﻿@model IEnumerable<TickerItem>
@{
    ViewBag.Title = "Edit Stock Feed";
    var value = String.Join(",", Model.Select(t => t.Symbol).ToArray());
}
@if (ViewBag.Message != null)
{
    <p>@ViewBag.Message</p>
}
<fieldset>
    <legend>Stock Symbols</legend>
    <p class="padtop">Please enter the stock symbols separated by a comma (,).</p>
    @using (Html.BeginForm())
    {
        <p>
            <input type="text" name="symbols" id="symbols" value="@value" />
        </p>
        <p class="buttons">
            <input type="submit" value="Submit" />
        </p>
    }
</fieldset>
